import http from "@/utils/http";


const userInfo = {
  //用户登录
  userLogin: (data:any) => {
    return http.post('/user/login',data);
  },

  //用户注册
    userRegister: (data:any) => {
    return http.post('/user/insert',data);
  },

  // 退出登录
  userLogout: (data:any) => {
    return http.post('/user/logout',data);
  },
}



export default userInfo;
